<template>
  <div class="loading">
    <img src="../../assets/images/loading.gif" alt="loading">
  </div>
</template>

<script>
export default {
  name: 'Loading'
}
</script>

<style scope>
.loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 121;
  width: 100%;
  height: 100%;
  background: rgba(223, 222, 222, 0.3);
  display: block;
  vertical-align: middle;
  text-align: center;
}
.loading img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
</style>
